package com.gyms.constant;

/**
 * 常量
 */
public class Constants {
    public static final String DB_NAME="new_app";
    public static final int CAMERA_WITH_DATA = 0x01;  //跳转相机并拍照返回
    public static final int ALBUM_CHOOSE_IMG = 0x02; //跳转相册获取照片返回
    public static final int FLAG_MODIFY_FINISH = 0x03; //裁剪照片完成
    public static final String FLAG_INTENT_PROJECTID = "project_id"; //运动项目Id
    public static final String FLAG_INTENT_PAGERNUMBER = "pagerNumber"; //图片的当前页数
    public static final String FLAG_INTENT_VENUEPIC= "venuePic"; //图片的当前页数
    public static final String FLAG_INTENT_VENUEID = "venueId"; //场馆的Id
    public static final String FLAG_INTENT_PROJECT = "intent_project"; //场馆的项目
    public static final String FLAG_INTENT_PROJECT_ID = "intent_project_id"; //场馆的项目
    public static final String FLAG_INTENT_CHOSE_TIME = "intent_chose_time"; //场馆的预定时间
    public static final String FLAG_INTENT_SELECT_POS = "intent_select_pos"; //选择位置
    public static final String FLAG_INTENT_PROJECTNAME = "project_name"; //运动项目名称
    public static final String FLAG_INTENT_ISPERIOD = "Isperiod"; //是否有时间
    public static final String FLAG_INTENT_PROJECTNAME_SEAT = "project_name_seat"; //预定项目名称
    public static final String FLAG_INTENT_PROJECT_START_TIME = "project_order_start_time"; //场馆预定时间开始时间
    public static final String FLAG_INTENT_PROJECT_START_END = "project_order_end_time"; //场馆预定时间结束时间
    public static final String FLAG_INTENT_GYM_ORDER_ID = "gym_order_id"; //订单Id
    public static final String FLAG_INTENT_UNPAY_TYPE = "gym_order_unpay_type"; //订单Id
    public static final String FALG_INTENT_PRODUCT_TAG = "product_tag"; //我的订单产品的标识
    public static final String FALG_INTENT_FROM_PRODUCT = "from_product"; //从产品详情进入
    public static final String FALG_INTENT_FROM_GYM = "from_gym"; //从场馆预定进入
    public static final String FALG_INTENT_MY_ORDER = "form_my_order"; //我的订单产品的标识
    public static final String FALG_INTENT_BARCODE= "mBarCode"; //验证码
    public static final String FALG_INTENT_ORDER_DETAIL = "order_detail"; //我的订单详情
    public static final String FALG_INTENT_PRPDUCT_ID = "productId"; //产品Id
    public static final String FLAG_FROM_SEAT_CHONSE = "from_seat_chonse"; //标识来自订座的页面
    public static final String FLAG_INTENT_IS_CONFIRM = "is_confirm"; //标识是不是确认订单页面
    public static final String FLAG_INTENT_LONGITUDE = "is_longitude"; //经度
    public static final String FLAG_INTENT_LATITUDE = "is_latitude"; //纬度
    public static final String FLAG_INTENT_ADDRESS = "is_address"; //地址
    public static final String FLAG_INTENT_GYM_NAME = "is_gym_name"; //场馆名称
    public static final String FLAG_FROM_PRODUCT = "from_product"; //标识来自产品的页面
    public static final String FLAG_GO_MYCARD = "my_card"; //去优惠券
    public static final String FLAG_VENUEID = "venueId"; //场馆id
    public static final String SEARCH_FAIL_TEXT = "暂无数据"; //搜索无数据
    public static final String FLAG_INTENT_ORDER_GYN= "order_gym"; //预定场馆
    public final static  int TYPE_NOME=0;//搜索无数据
    public final static  int TYPE_FAIL=1;//搜索失败
    public final static  int NO_NET=-100;//无网络
    public final static  int SEAT_CAN=1;//1可预订
    public final static  int SEAT_SOLD=2;//2已售
    public final static  int SEAT_Select=3;//3已选择
    public final static  int SEAT_SELECTED=1;//已选择
    public final static  int SEAT_CAN_SELECT=0;//0可选择
    public final static  int SEAT_SOLD_STATE=4;//0可选择
    /*价格的显示样式*/
    public final static int YUAN_SIZE = 13;//元的大小
    public final static int YUAN_SIZE_TEN = 10;//元的大小
    public final static int PRICE_SIZE = 15;//总共的价格大小
    public final static int PRICE_SIZE_THIRTEEN = 13;//总共的价格大小
    public final static int PRICE_ACTUAL_SIZE = 21;//实付的价格大小

    //我的订单相关
    public final static int GYM_ORDER_TYPE =1;//场馆订单
    public final static int PRODUCT_ORDER_TYPE = 2;//产品订单
    //我的卡卷
    public static final String MY_SELECTED_CARDBEAN = "selected_cardBean";
    public static final String COUPONID= "couponId";
    //存储全部城市
    public static final String ALL_CITY_BEANS= "all_city_beans";
    public static final String ACACHE_HOME_BANNNER= "acache_banner";// 缓存首页弹出bannenr


    //支付方式相关
    //支付方式0支付宝，1微信;
    public static final int WX_PAY= 1;//微信支付
    public static final int ZFB_PAY= 0;//支付宝支付
    public static final String App_Id="wx7d8e0d35db4505dd";//wxAppId

    public static final String LABLE="lable";//是否是意见反馈还是举报
    public static final String FEEDBACK_TEXT="意见反馈";
    //是否是场馆搜索 是场馆搜索  否 产品搜索
    public static final String KEY_IS_GYM_SEARCH="key_is_gym_search";
    //搜索关键字
    public static final String KEY_SEARCH_KEYWORD="key_search_keyword";
    public static final String KEY_SEARCH_TYPE="key_search_type";//搜索类型 分为 关键字搜索 和标签搜索
    //搜索类型
    public final static int TYPE_KEYWORD=0;//关键字搜索
    public final static int TYPE_TAB=1;//标签搜索

    //banner轮播时间
    public final static int BANNER_TIME=3000;
    //所有运动
    public final static String ALL_SPORT="所有运动";
    public final static String ALL_SPORT_STR="全部";
    public final static String ALL_AREAS="全部区域";
    //密码登陆把号码带过来
    public final static String STR_PHONE="str_phone";
    public final static String Map_List_gyms="map_list_gyms";
    //筛选框 是否显示时间筛选
    public final static String IS_SHOW_TIME_SELECT="is_show_time_select";
    public final static String BOOK_TYPE="book_type";//预定类型

    //搜索结果进入地图
    public final static String IS_MAP_FROM_SEARCH="is_map_form_search";
    public final static String GO_RULE_DETAIL="go_rule_detail";
    public final static String WEBVIEW_TITLE="title";
    public final static String WEBVIEW_URL="url";
    public final static String WEBVIEW_CONFIGS_LIST="webview_configs_list";


    public final static String WEBVIEW_STR_HTML="webview_str_html";

    public final static String WHEELBEAN_TALG="wheelBean";

    public final static String KEY_CARD_BEAN ="key_card_bean";


    //分享相关
    public final static int S_TYPE_WEIXIN=0 ;//微信分享
    public final static int S_TYPE_CIRCLE=1;//朋友圈分享
    public final static int S_TYPE_QQ=2;//QQ分享

    //订单可用优惠券
    public final static String S_AVAILABLE_COUPON_LIST="key_available_coupon_list";//朋友圈分享

    public final static int S_TYPE_HEAD=0;//head
    public final static int S_TYPE_NOM=1;//foot

    //计步相关
    public static final int MSG_FROM_CLIENT = 0;
    public static final int MSG_FROM_SERVER = 1;
    public static final int REQUEST_SERVER = 2;

    public static final String KEY_STEP="step";

    //JS 登录的回调
    public static final int JS_LOGIN_ED=1;//已经登录
    public static final int JS_LOGIN_SUCCESS=2;//登录成功
    public static final int JS_LOGIN_CANCEL=3;//取消登录

    public static final String KEY_LOGIN_FUN="key_login_fun";
    public static final String KEY_MUST_MODIFY="key_must_modify";// 需要修改密码

    //是否是第一次进入app
    public static final String KEY_IS_FIRST="key_is_first";
    //存储今天的起始步数
    public static final String KEY_TODAY_BASE_STEP="key_today_base_step";
    //我的订单状态
    public static final String MY_ORDER_TYPE="my_order_type";

    public static final int MY_ORDER_ALL=1;
    public static final int MY_ORDER_UN_COMPLETE=2;
    public static final int MY_ORDER_COMPLETE=3;
    public static final int MY_ORDER_REFUND=4;

    //webview 参数传递相关
    public static final String S_KEY_URL="url";
    public static final String S_KEY_TITLE="title";
    public static final String S_KEY_CLICKINFOBEAN="KEY_HVClickInfoBean";


    public static final String S_KEY_AREA_LIST="key_area_list";
    public static final String S_KEY_AREA_TAG="key_area_tag";




}
